package com.sykj.bsc.zjj.service.Impl;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.sykj.bsc.zjj.bean.Bis_business_order;
import com.sykj.bsc.zjj.bean.Bis_custom_user;
import com.sykj.bsc.zjj.bean.Bis_shop;
import com.sykj.bsc.zjj.bean.Bis_shop_custom;
import com.sykj.bsc.zjj.mapper.Bis_custom_userMapper;
import com.sykj.bsc.zjj.service.Bis_custom_userService;

@Service
public class Bis_custom_userServiceImpl implements Bis_custom_userService {
	@Autowired
	private Bis_custom_userMapper bcum;

	/**
	 * 查询所有
	 * Bis_custom_user
	 * 顾客用户信息表
	 */
	@Override
	public List<Map> selectBis_custom_user(Bis_custom_user bis_custom_user) {
		return this.bcum.selectBis_custom_user(bis_custom_user);
	}
	
	/**
	 * 查询店铺名称
	 * Bis_shop
	 * 店铺信息表
	 */
	@Override
	public List<Bis_shop> selectBis_shop() {
		return this.bcum.selectBis_shop();
	}

	/**
	 * 新增
	 * Bis_custom_user
	 * 顾客用户信息表
	 */
	@Override
	public void insertBis_custom_user(Bis_custom_user bis_custom_user) {
		this.bcum.insertBis_custom_user(bis_custom_user);
	}

	/**
	 * 根据ID查询
	 * Bis_custom_user
	 * 顾客用户信息表
	 */
	@Override
	public Bis_custom_user findByIdBis_custom_user(String custom_user_id) {
		return this.bcum.findByIdBis_custom_user(custom_user_id);
	}

	/**
	 * 修改
	 * Bis_custom_user
	 * 顾客用户信息表
	 */
	@Override
	public void updateBis_custom_user(Bis_custom_user bis_custom_user) {
		this.bcum.updateBis_custom_user(bis_custom_user);
	}

	/**
	 * 删除
	 * Bis_custom_user
	 * 顾客用户信息表
	 */
	@Override
	public void deleteBis_custom_user(String custom_user_id) {
		this.bcum.deleteBis_custom_user(custom_user_id);
	}

	/**
	 * 查询
	 * 根据ID查询
	 */
	@Override
	public List<Map> selectBis_business_order(Bis_business_order bbo) {
		return this.bcum.selectBis_business_order(bbo);
	}
	
	@Override
	public List<Map> selectBis_business_order2(Bis_business_order bbo) {
		return this.bcum.selectBis_business_order2(bbo);
	}

	/**
	 * 查询
	 * 根据编号查询订单详情
	 * Bis_business_order
	 */
	@Override
	public Bis_business_order selectBis_business_order1(String order_id) {
		return this.bcum.selectBis_business_order1(order_id);
	}

	/**
	 * 查询顾客用户信息表
	 * 判断手机是否重复
	 */
	@Override
	public Integer findByIdBis_custom_usermobile(String mobile) {
		return this.bcum.findByIdBis_custom_usermobile(mobile);
	}

	/**
	 * 查询顾客用户信息表
	 * 判断电话是否重复
	 */
	@Override
	public Integer findByIdBis_custom_userphone(String phone) {
		return this.bcum.findByIdBis_custom_userphone(phone);
	}
	
	/**
	 * 查询顾客用户信息表
	 * 判断QQ是否重复
	 */
	@Override
	public Integer findByIdBis_custom_userqq(String qq) {
		return this.bcum.findByIdBis_custom_userqq(qq);
	}

	/**
	 * 查询顾客用户信息表
	 * 判断邮箱是否重复
	 */
	@Override
	public Integer findByIdBis_custom_useremail(String email) {
		return this.bcum.findByIdBis_custom_useremail(email);
	}
	
}
